home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 10818 < prev    next >
Encoding:
Text File  |  1996-08-05  |  2.3 KB  |  62 lines

  1. Path: news.simi.is!newsadm
  2. From: Bj÷rn Helgason <bjornhp@simi.is>
  3. Newsgroups: comp.lang.misc,comp.lang.c,comp.lang.pl1,comp.lang.apl
  4. Subject: Re: GOTO controversy
  5. Date: Wed, 20 Mar 1996 07:38:29 +0000
  6. Organization: Post and Telecom Iceland, IS-150 Reykjavik, ICELAND
  7. Message-ID: <314FB5F5.259B@simi.is>
  8. NNTP-Posting-Host: simi.is
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=iso-8859-1
  11. Content-Transfer-Encoding: 8bit
  12. X-Mailer: Mozilla 2.0 (Win95; I)
  13.  
  14. sam@kalessin.jpl.nasa.gov (Sam Sirlin)writes:
  15.  
  16. > >In article <3147F456.50F0@simi.is>, Bj÷rn Helgason <bjornhp@simi.is> writes:
  17. >|> In most instances they are not needed. I might add that in ALL cases
  18. >|> you could avoid GOTOs and LOOPs if you really put your mind to it.
  19.  
  20. > Hmm. Doesn't seem that way to me. There are certain analysis
  21. > algorithms that must be sequential. 
  22.  
  23. I agree with you that when you are looking at a challenge for the 
  24. first time and observing the phenomena you want to put into coding
  25. then it is in most cases for most human beings easier to think 
  26. about things sequentially.
  27.  
  28. If you had unlimited space in your computer my experience is that 
  29. ALL challenges I have come across could be solved without the
  30. need to use the loops provided in the language.
  31.  
  32. Unfortunately most Von Neuman computers take only one instruction 
  33. at a time and are therefore sequential however clever you want
  34. to be in your coding and most implemnetations of languages are
  35. limited in the space they allow you to work in.
  36.  
  37. I wonder what happened to the optical computer that was presented
  38. to us at APL90 in Copenhagen. It was supposed to work on many 
  39. things in parallel. Has that project died ?
  40.  
  41.  
  42. > |> In the most advanced of languages, J , there were no GOTOs or LOOPs in
  43. > |> the beginning. They have been introduced in the most recent versions
  44. >|> of J and are now a well appreciated part of J.
  45.  
  46. > Hmm. Goto's were in existance in J from the beginning, in the suite
  47. > ($...), though I can't say about the very first version of the code.
  48.  
  49. You are right. The suite was there. It could hardly be described as
  50. ordinary GOTOs. They were way to clever. It took me two years to 
  51. figure them out.
  52.  
  53. --
  54. Sam Sirlin                Jet Propulsion Laboratory
  55. Email: sam@kalessin.jpl.nasa.gov
  56.  
  57. -- 
  58. /Gosi
  59. bjornhp@simi.is Bjorn Helgason Spitalastig 4 101 Reykjavik Iceland 354 
  60. 562 5441
  61. http://www.jsoftware.com
  62.